<?php
define('INLOT', true);
require_once('inc/base.php');
try {
    $db = new PDO($db_dsn);
    var_dump($db);
    $query = $db->prepare('select * from lot_users');
    var_dump($query);
    $query->execute();
    $result = $query->fetchAll();
    print_r($result);
    echo 'PDO Connect Ok';
} catch (PDOException $e) {
    echo 'Connection failed:' . $e->getMessage();
}
